<div  class=" admin-content">
    <div class="admin-biaogelist">

        <div class="listbiaoti am-cf">
            <ul class="am-icon-users">{{title}}</ul>

            <dl class="am-icon-home" style="float: right;">当前位置： 首页 > <a href="#">奖罚管理</a></dl>
            <dl>
                <button type="button" id="addDayclear" ng-click="openAddSumweekModal()" class="am-btn am-btn-success am-round am-btn-xs am-icon-plus" > 新增周计划</button>
            </dl>
            <dl>
                <label>工号</label>
                <input type="text" class="input-medium search-query" ng-model="sumweekWhere.jobnum"
                       placeholder="工号" >
            </dl>
            <dl>
                <label>起始</label>
                <input type="text" class="input-medium search-query" ng-model="sumweekWhere.startDate" id="startDatetimepicker"
                       placeholder="起始">
            </dl>
            <dl>
                <label>终止</label>
                <input type="text" class="input-medium search-query" ng-model="sumweekWhere.endDate" id="endDatetimepicker" placeholder="终止">
            </dl>
            <dl>
                <button type="submit" class="btn" ng-click="selectWhere(sumweekWhere)">查询</button>
            </dl>

            <!--这里打开的是新页面-->
        </div>
        <form class="am-form am-g">
            <table width="100%" class="am-table am-table-bordered am-table-radius am-table-striped">
                <thead>
                <tr class="am-success">
                    <th class="table-check"><input type="checkbox" /></th>

                    <th class="table-author am-hide-sm-only">评定日期</th>
                    <th class="table-title">业务部门</th>
                    <th class="table-type">重点工作事项</th>
                    <th class="table-author am-hide-sm-only">责任人</th>
                    <th class="table-author am-hide-sm-only">创建开始时间</th>
                    <th class="table-date am-hide-sm-only">计划完成时间</th>
                    <th class="table-date am-hide-sm-only">实际状态</th>
                    <th class="table-date am-hide-sm-only">实际完成时间</th>
                    <th class="table-date am-hide-sm-only">周清更新日期</th>
                    <th class="table-date am-hide-sm-only">操作</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="item in list">
                    <td><input type="checkbox" /></td>

                    <td class="am-hide-sm-only">暂无</td>
                    <td>{{item.employee.depart.name}}</td>
                    <td>{{item.key_tasks}}</td>
                    <td class="am-hide-sm-only">{{item.employee.name}}</td>
                    <td class="am-hide-sm-only">{{item.create_start_time}}</td>
                    <td class="am-hide-sm-only">{{item.plan_finish_time}}</td>
                    <td class="am-hide-sm-only">{{item.actual_state}}</td>
                    <td class="am-hide-sm-only">{{item.actual_finish_time}}</td>
                    <td class="am-hide-sm-only">{{item.week_update_time}}</td>
                    <td>
                        <div class="am-btn-toolbar">
                            <div class="am-btn-group am-btn-group-xs">
                                <button ng-click="selectSumweek(item.id)" class="am-btn am-btn-default am-btn-xs am-text-secondary am-round" data-am-modal="{target: '#my-popups'}" title="修改"><span class="am-icon-pencil-square-o" ></span></button>
                                <button ng-click="delete(item.id)" class="am-btn am-btn-default am-btn-xs am-text-danger am-round"  title="删除"><span class="am-icon-trash-o"></span></button>
                            </div>
                        </div>
                    </td>
                </tr>

                </tbody>
            </table>

            <!--分页页码-->
            <ul class="am-pagination am-fr">
                <div class="box-footer no-border">
                    <pagination-component total-items="sumweekList.totalCounts"
                                          current-page="sumweekList.pageIndex"
                                          page-size="sumweekList.pageSize"
                                          select-page="NextListData(pageIndex)">
                    </pagination-component>
                </div>
            </ul>
            <div class="am-btn-group am-btn-group-xs">

            </div>
            <hr />
            <!--<p>注：.....</p>-->
        </form>

    </div>

</div>
